package com.moose.operator.web.service;

import com.moose.operator.model.dto.AttachmentUploadDTO;
import java.util.List;

/**
 * @author taohua
 */
public interface AttachmentRecordService {

  /**
   * find attachment record
   *
   * @param userId   user id
   * @param tag      upload tag
   * @param attachId attachment record id
   * @return FileUploadDTO
   */
  AttachmentUploadDTO getAttachmentRecord(Long userId, Long attachId, String tag);

  /**
   * batch save file upload info
   *
   * @param attachmentUploadDTOList upload info
   */
  void batchSaveAttachmentRecord(List<AttachmentUploadDTO> attachmentUploadDTOList);
}
